home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2262 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Stupid Question: What does "foo" stand for?
  5. Date: Sat, 20 Jan 96 02:36:58 GMT
  6. Organization: none
  7. Message-ID: <822105418snz@genesis.demon.co.uk>
  8. References: <DLA6o4.8s0@bcstec.ca.boeing.com> <4dmsfk$kd8$1@mhadg.production.compuserve.com>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4dmsfk$kd8$1@mhadg.production.compuserve.com>
  15.            73257.3527@CompuServe.COM "Earl F. Glynn" writes:
  16.  
  17. >In my opinion, the use of "foo" should be discouraged and shows a 
  18. >lack of appreciation of good software engineering practices.  Only 
  19. >good, mnemonic names should be used in software and "foo" can 
  20. >never qualify, even in abstract academic examples.
  21.  
  22. foo, bar, baz etc. are recognised as indicating general examples of the
  23. things they represent. As such they are very useful in academic examples
  24. (and indeed are a clear indication that that is the nature of the code). I
  25. agree that they shouldn't be used in 'real' code.
  26.  
  27. -- 
  28. -----------------------------------------
  29. Lawrence Kirby | fred@genesis.demon.co.uk
  30. Wilts, England | 70734.126@compuserve.com
  31. -----------------------------------------
  32.